package com.ukao.cashregister.bean;

import com.ukao.cashregister.utils.CheckUtils;

/**
 * Created by ukaodev on 2017/6/14.
 */

public class FactoryBatchBean extends  BaseBean<FactoryBatchBean> {





        /**
         * mercId : 1
         * finishText : 未完成
         * code : 99443573
         * productCnt : 2
         * cityId : 1
         * logisticsWorkPhone : null
         * annexCnt : 0
         * logisticsWorkName : null
         * logisticsWorkTime : null
         * storeWorkTime : 1509415701000
         * storeName : 友靠麓云店
         * id : 182
         * mercName : 友靠商户
         * factoryId : null
         * factoryWorkName : null
         * sortingCnt : 0
         * factoryName : null
         * isFinish : 0
         * storeId : 19
         * factoryWorkTime : null
         * createTime : 1509415701000
         * storeRegionalDesc : 上海徐汇徐汇区
         * statusText : 待物流人员接收
         * storeAddrDesc : 的奋斗
         * status : 1
         */

        private int mercId;
        private String finishText;
        private String code;
        private int productCnt;
        private int cityId;
        private String logisticsWorkPhone;
        private int annexCnt;
        private String logisticsWorkName;
        private long logisticsWorkTime;
        private long storeWorkTime;
        private String storeName;
        private String id;
        private String mercName;
        private Object factoryId;
        private Object factoryWorkName;
        private int sortingCnt;
        private String factoryName;


        private int storeId;
        private long factoryWorkTime;
        private long createTime;
        private String storeRegionalDesc;
        private String statusText;
        private String storeAddrDesc;
        private int status;
    private int isFinish;



    public boolean getIsFinish() {
        boolean  isfinish=false;
        if (isFinish==1){/*完成*/
            isfinish=true;
        }

        return isfinish;
    }

    public void setIsFinish(int isFinish) {
        this.isFinish = isFinish;
    }
        public int getMercId() {
            return mercId;
        }

        public void setMercId(int mercId) {
            this.mercId = mercId;
        }

        public String getFinishText() {
            return finishText;
        }

        public void setFinishText(String finishText) {
            this.finishText = finishText;
        }

        public String getCode() {
            return CheckUtils.isEmptyString(code);
        }

        public void setCode(String code) {
            this.code = code;
        }

        public int getProductCnt() {
            return productCnt;
        }

        public void setProductCnt(int productCnt) {
            this.productCnt = productCnt;
        }

        public int getCityId() {
            return cityId;
        }

        public void setCityId(int cityId) {
            this.cityId = cityId;
        }

        public String getLogisticsWorkPhone() {
            return logisticsWorkPhone;
        }

        public void setLogisticsWorkPhone(String logisticsWorkPhone) {
            this.logisticsWorkPhone = logisticsWorkPhone;
        }

        public int getAnnexCnt() {
            return annexCnt;
        }

        public void setAnnexCnt(int annexCnt) {
            this.annexCnt = annexCnt;
        }

        public String getLogisticsWorkName() {
            return logisticsWorkName;
        }

        public void setLogisticsWorkName(String logisticsWorkName) {
            this.logisticsWorkName = logisticsWorkName;
        }

        public long getLogisticsWorkTime() {
            return logisticsWorkTime;
        }

        public void setLogisticsWorkTime(long logisticsWorkTime) {
            this.logisticsWorkTime = logisticsWorkTime;
        }

        public long getStoreWorkTime() {
            return storeWorkTime;
        }

        public void setStoreWorkTime(long storeWorkTime) {
            this.storeWorkTime = storeWorkTime;
        }

        public String getStoreName() {
            return storeName;
        }

        public void setStoreName(String storeName) {
            this.storeName = storeName;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMercName() {
            return mercName;
        }

        public void setMercName(String mercName) {
            this.mercName = mercName;
        }

        public Object getFactoryId() {
            return factoryId;
        }

        public void setFactoryId(Object factoryId) {
            this.factoryId = factoryId;
        }

        public Object getFactoryWorkName() {
            return factoryWorkName;
        }

        public void setFactoryWorkName(Object factoryWorkName) {
            this.factoryWorkName = factoryWorkName;
        }

        public int getSortingCnt() {
            return sortingCnt;
        }

        public void setSortingCnt(int sortingCnt) {
            this.sortingCnt = sortingCnt;
        }

        public String getFactoryName() {
            return factoryName;
        }

        public void setFactoryName(String factoryName) {
            this.factoryName = factoryName;
        }


        public int getStoreId() {
            return storeId;
        }

        public void setStoreId(int storeId) {
            this.storeId = storeId;
        }

        public long getFactoryWorkTime() {
            return factoryWorkTime;
        }

        public void setFactoryWorkTime(long factoryWorkTime) {
            this.factoryWorkTime = factoryWorkTime;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getStoreRegionalDesc() {
            return storeRegionalDesc;
        }

        public void setStoreRegionalDesc(String storeRegionalDesc) {
            this.storeRegionalDesc = storeRegionalDesc;
        }

        public String getStatusText() {
            return statusText;
        }

        public void setStatusText(String statusText) {
            this.statusText = statusText;
        }

        public String getStoreAddrDesc() {
            return storeAddrDesc;
        }

        public void setStoreAddrDesc(String storeAddrDesc) {
            this.storeAddrDesc = storeAddrDesc;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

}
